package com.ysw.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @ClassName ZkConfig
 * @Description TODO
 * @Author ysw
 * @Date 2022/5/10 22:47
 */
@ConfigurationProperties(prefix = "curator")
@Component
@Data
public class ZkConfig {

    private int retryCount;

    private int elapsedTimeMs;

    private String connectionString;

    private int sessionTimeOutMs;

    private int connectionTimeOutMs;
}